package com.example.wod.retrofitdemo.Bean;

import java.util.List;

/**
 * Created by Wod on 2016/1/13.
 */
public class Sale_List {

    /**
     * code : SUCCESS
     * info : 获取成功！
     * data : [{"id":"1","c_id":"1040","price":"200.00","title":"海底捞1000元代金卷","end_time":"1456675200","amount":1000,"debris_count":4,"background":"http://7xp4uq.com1.z0.glb.clouddn.com/2015-12-28_568121efc8770.jpg"}]
     */

    private String code;
    private String info;
    /**
     * id : 1
     * c_id : 1040
     * price : 200.00
     * title : 海底捞1000元代金卷
     * end_time : 1456675200
     * amount : 1000
     * debris_count : 4
     * background : http://7xp4uq.com1.z0.glb.clouddn.com/2015-12-28_568121efc8770.jpg
     */

    private List<DataEntity> data;

    public void setCode(String code) {
        this.code = code;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private String id;
        private String c_id;
        private String price;
        private String title;
        private String end_time;
        private int amount;
        private int debris_count;
        private String background;

        public void setId(String id) {
            this.id = id;
        }

        public void setC_id(String c_id) {
            this.c_id = c_id;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public void setDebris_count(int debris_count) {
            this.debris_count = debris_count;
        }

        public void setBackground(String background) {
            this.background = background;
        }

        public String getId() {
            return id;
        }

        public String getC_id() {
            return c_id;
        }

        public String getPrice() {
            return price;
        }

        public String getTitle() {
            return title;
        }

        public String getEnd_time() {
            return end_time;
        }

        public int getAmount() {
            return amount;
        }

        public int getDebris_count() {
            return debris_count;
        }

        public String getBackground() {
            return background;
        }
    }
}
